// 例子24

var person = {
    name: 'Tom',
    age: '20',
    getName: function() {
        return this.name
    }
}

person.name
person['name']